home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
076-100
/
disk_098
/
hddriver
/
driver
/
autoinit.c
next >
Wrap
C/C++ Source or Header
|
1992-05-06
|
372b
|
27 lines
#include "hd.h"
extern LONG aOpen(), aClose(), aExpunge(), aNull(), aBeginIO(), aAbortIO();
LONG (*func_table[])() = {
aOpen, aClose, aExpunge, aNull, aBeginIO, aAbortIO, (LONG (*)())-1L
};
struct {
LONG dev_size;
LONG (**func_table)();
WORD *data_table;
LONG (*init_routine)();
} AutoInit = {
sizeof ( struct hd_dev ) ,
func_table ,
NULL ,
aLibInit
};